
//
//  XLBaseCollectionViewCell.m
//  Current
//
//  Created by 于鹏 on 2017/8/15.
//  Copyright © 2017年 YIVIEW. All rights reserved.
//

#import "XLBaseCollectionViewCell.h"
#import "XLAppMacro.h"
#import "XLBaseModel.h"
@implementation XLBaseCollectionViewCell
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    [self setupUI];
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self setupUI];
    }
    return  self;
}

- (void)setupUI {
    self.backgroundColor = kBackground_color;
    
}

+ (UINib *)xl_nib {
    return [UINib nibWithNibName:NSStringFromClass([self class]) bundle:[NSBundle bundleForClass:[self class]]];
}

+ (NSString *)identifier {
    return NSStringFromClass([self class]);
}

- (void)setModel:(XLBaseModel *)model {
    _model = model;
}

@end
